home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mgr / sparcmgr / demo1.zoo / demo / msg / start < prev   
Encoding:
Text File  |  1989-01-24  |  1.1 KB  |  28 lines

  1. #!/bin/sh
  2. #                        Copyright (c) 1987 Bellcore
  3. #                            All Rights Reserved
  4. #       Permission is granted to copy or use this program, EXCEPT that it
  5. #       may not be sold for profit, the copyright notice must be reproduced
  6. #       on copies, and credit should be given to Bellcore where it is due.
  7. #       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
  8.  
  9. #  $Header: font,v 4.1 88/06/21 14:0
  10.  
  11. #    start a server
  12.  
  13. DO=do
  14. chmod go-w `tty`  || echo "MGR not suid-root, fatal error"
  15.  
  16. case $1 in
  17.    oldvi )   exec $DO -i -c vi eye_bld3 eye_bld1;;
  18.    vi | edit ) exec $DO -i -c do_vi eye_bld3 eye_bld1;;
  19.    hm )      exec $DO -i -W -n hm -c "hm -s" file_shut file_open;;
  20.    remove )  exec $DO -i -W -c remove gcan_shut gcan_open;;
  21.    print )   exec $DO -i -W -n print -c "lpr -P$2 " ptr_laser ptr_laseron;;
  22.    oldmore ) exec $DO -i -p -c more scroll_1 thinker;;
  23.    more )    exec $DO -i -c do_more scroll_1 thinker;;
  24.    file )    exec $DO -i -p -c do_file frog1 frog2;;
  25.    ls )      exec $DO -i -p -c do_ls frog1 frog2;;
  26.    * )         echo "try one of vi,hm,remove,more,file,ls,print <printer>";;
  27. esac
  28.